<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		    <meta http-equiv="X-UA-Compatible" content="IE=edge">
		    <meta name="viewport" content="width=device-width, initial-scale=1.0">
		<title></title>
		<script src="js/hls.min.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<style type="text/css">
		html{
			width: 100%;
			height: 100%;
		}
		body{
			width: 100%;
			height: 100%;
		}
	</style>
	<body>
		<video style="width:340;height: 200px;" id="video">
		</video>
	</body>
	<script type="text/javascript">
		var video = document.getElementById('video');
		var hls = new Hls();
		hls.loadSource('')
		hls.attachMedia(video);
		hls.on(Hls.Events.MANIFEST_PARSED,function(){
			video.play();
		});
	</script>
</html>
